<extend name="./public/frame.html"/>
<block name="content">
    <form class="layui-form" action="{$url}" method="post">
        <notempty name="info['id']">
            <input name="id" value="{$info['id']}" hidden>
        </notempty>
        <input name="act" value="{$act}" hidden>
        <div class="layui-form-item">
            <label class="layui-form-label">权限组代码:</label>
            <div class="layui-input-block">
                <input type="text" name="kname" value="{$info['kname']}" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item" id="auth">
            <label class="layui-form-label">权限组名:</label>
            <div class="layui-input-block">
                <input type="text" name="kval" value="{$info['kval']}" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序:</label>
            <div class="layui-input-block">
                <input type="text" name="sort" value="{$info['sort']}" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div id="add_info" hidden class="box"></div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
    <script type="application/javascript">
        layui.use(['form','layer'], function(){
            var layer = layui.layer,
                form = layui.form;
        });
    </script>
</block>
